home *** CD-ROM | disk | FTP | other *** search
- Path: newsbf02.news.aol.com!not-for-mail
- From: recursion@aol.com (Recursion)
- Newsgroups: comp.lang.c++
- Subject: Need answer to easy question quick (Borland C++3.1WIN)
- Date: 28 Jan 1996 13:42:58 -0500
- Organization: America Online, Inc. (1-800-827-6364)
- Sender: root@newsbf02.news.aol.com
- Message-ID: <4egg3i$ph7@newsbf02.news.aol.com>
- Reply-To: recursion@aol.com (Recursion)
- NNTP-Posting-Host: newsbf02.mail.aol.com
-
- I am a PASCAL programmer converting to C++ so I am still learning the
- semantics. In PASCAL if I wanted to send output to the printer I would
- use:
- writeln(LST,"Hello printer")
-
- In C++3.1 how do I send output to the printer. When I use cout it goes to
- a new window when I run my program but the window is inactive so I have no
- way of printing the output of my program. I hear that 4.5 has an option
- to print the incative window but 3.1 does not as far as I can tell.
- cout << "Hello printer";
- is there a command I can add to the cout statement so that output is sent
- directly to the printer?
-
- Please e-mail me with posssible solutions. Recursion@aol.com
- I would greatly appreciate it. Thanks
-